package com.jml.dubboprovider;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class providerStart {

	public static void main(String[] args) throws Exception {
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("provider.xml");
		//启动服务
		applicationContext.start();
		System.out.println("生产者启动成功");
		//保持连接，让这段代码一直阻塞
		System.in.read();
	}
}
